import vue from '@vitejs/plugin-vue';

import createAutoImport from './auto-import';

import path from 'path';

export default (viteEnv: any, isBuild = false): [] => {
  const vitePlusgins: any = [];
  vitePlusgins.push(vue());
  vitePlusgins.push(createAutoImport(path));
  return vitePlusgins;
};
